using System;
using System.Collections.Generic;
using System.Text;

namespace SkypeStudio.UninstallUtill
{
    class Program
    {
        static void Main(string[] args)
        {
            string reg32 = string.Format("{0}\\regsvr32.exe", Environment.SystemDirectory);

            System.Diagnostics.ProcessStartInfo processStart = new System.Diagnostics.ProcessStartInfo(reg32, "/u skypecontacts.ocx");
            processStart.WorkingDirectory = Environment.CurrentDirectory;
            System.Diagnostics.Process.Start(processStart);
            System.Threading.Thread.Sleep(100);

            System.Diagnostics.ProcessStartInfo processStart2 = new System.Diagnostics.ProcessStartInfo(reg32, "/u skype4com.dll");
            processStart2.WorkingDirectory = Environment.CurrentDirectory;
            System.Diagnostics.Process.Start(processStart2);
        }
    }
}
